home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.pinc.com!usenet
- From: Ed <ed@learning.c.com>
- Newsgroups: comp.lang.c
- Subject: HELP with array declaration
- Date: Fri, 29 Mar 1996 16:25:55 -0800
- Organization: ---
- Message-ID: <315C7F92.30E18DFD@learning.c.com>
- NNTP-Posting-Host: 206.87.35.215
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.3.72 i486)
-
- Hi,
-
- I don't know why the compiler (gcc) complains given this code:
-
-
- ...
- ...
- #define STRING 81
-
- void sort_insert(char a[][STRING], unsigned int numdata) {
-
- ...
- ...
-
- }
-
-
- The compiler says that "two or more data types in declaration of
- 'sort_insert' "
-
-
- I'm new to 'C' and I don't see anything wrong with the above
- declaration.
-
-
- Thans in advance.
-
- ---
-